import Ajax from './Ajax'

export function menuListApi() {
    return Ajax({
        url: '/menu/list'
    })
}

export function roleListApi(myRole) {
    return Ajax({
        url: '/role/list/byids',
        params: {ids: myRole}
    })
}

export const collectionApi = () => Ajax({url: '/analysis/collection'})